import axios from '@/libs/api.request'

export const getOrderCheck = ({ pageNum, pageSize }) => {
  return axios.request({
    url: 'get_order_check',
    params: {
      pageNum,
      pageSize
    },
    method: 'get'
  })
}

export const getOrderList = ({ pageNum, pageSize }) => {
  return axios.request({
    url: 'get_order_list',
    params: {
      pageNum,
      pageSize
    },
    method: 'get'
  })
}

export const isOrderCheck = (id) => {
  return axios.request({
    url: 'is_order_check',
    params: {
      id
    },
    method: 'get'
  })
}
